<{include file="app/header.tpl"}>

<!-- <p>小店: <{$global_shop.shopName}></p>
<p>收益：￥<{$account.incomeMoney/100|@number_format:2}></p>
<p><a href="/share/shops/<{$global_shop.id}>">所有店面收益</a></p> -->

<div class="income-header">
    <p class="shop-name"><{$global_shop.shopName}></p>
    <p class="money-income fix">
        <span class="income">￥<{$account.incomeMoney/100|@number_format:2}></span>
        <a href="/share/other" class="other">其他店铺收益 <em class="icon"></em></a>
    </p>
</div>

<ul class="income-title fix">
    <li class="li"><a href="/share/income"><em class="active"></em><span class="yellow">收益</span></a></li>
    <li class="li"><a href="/share/cash"><em class="circle"></em><span class="gray">提现</span></a></li>
    <li class="li"><a href="/share/coin"><em class="circle"></em><span class="gray">金币</span></a></li>
</ul>

<div>
    <{if $incomeList|@count neq 0 }>
        <ul class="money-income-ul">
             <{foreach from=$incomeList item="item"}>
                 <li class="li">
                     <p class="line">
                         收益时间: <{"Y-m-d H:i:s"|@date:$item.created}>
                     </p>
                     <p class="line">
                         小店名称: <{$item.shopName}>
                     </p>
                     <p class="line">
                         订单编号: <{$item.orderNo}>
                     </p>
                     <p class="line">
                         订单标题: <{$item.orderTitle}>
                     </p>
                     <p class="line">
                         收益金额: <span class="red"><{$item.moneyIncome/100|@number_format:2}></span>
                     </p>
                     <p class="line">
                        收益来源: <{if $item.fromShareUid > 0 }> 团队成员: <{$item.userName}> <{else}> 本人分享 <{/if}>
                     </p>
                 </li>
             <{/foreach}>
        </ul>
    <{else}>
        <p class="income-money-empty"> 还没有收入数据 </p>
    <{/if}>
</div>


<{include file="app/footer.tpl"}>
